﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FirstHomeWork.Observer
{
    public class FloatObServer : IObject
    {
        public override void Show()
        {
            this.Drift();
        }

        public void Drift()
        {
            Console.WriteLine("漂浮",typeof(FloatObServer).GetMethod("Drift"));
        }
    }
}
